package com.jingtai.core.entity.merchants;


import com.baomidou.mybatisplus.annotation.TableName;
import com.jingtai.core.entity.BaseEntity;
import com.jingtai.validate.swagger.CApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

import io.swagger.annotations.*;


import java.util.Date;

/**
 * 商户收货地址表
 * 
 * @author sunlaiqian
 * @date 2020-12-02 15:08:11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_merchants_address")
@ApiModel(value = "商户收货地址表", description = "商户收货地址表")
public class MerchantsAddress  extends BaseEntity implements Serializable {




	/**
	 * 商户ID
	 */
	@CApiModelProperty(value = "商户ID",required = true,cNotEmpty = true)
	private Long merchantsId;

	/**
	 * 省
	 */
	@CApiModelProperty(value = "省",required = true,cNotEmpty = true)
	private String province;

	/**
	 * 市
	 */
	@CApiModelProperty(value = "市",required = true,cNotEmpty = true)
	private String city;

	/**
	 * 区
	 */
	@CApiModelProperty(value = "区",required = true,cNotEmpty = true)
	private String area;

	/**
	 * 详细地址
	 */
	@CApiModelProperty(value = "详细地址",required = true,cNotEmpty = true)
	private String address;

	/**
	 * 邮政编码
	 */
	@CApiModelProperty(value = "邮政编码",required = true,cNotEmpty = true)
	private String postalCode;

	/**
	 * 收货人
	 */
	@CApiModelProperty(value = "收货人",required = true,cNotEmpty = true)
	private String receivingName;

	/**
	 * 电话号码
	 */
	@CApiModelProperty(value = "电话号码",required = true,cNotEmpty = true,cPhone = true)
	private String receivingPhone;

	/**
	 * 是否默认 0：不默认1：默认
	 */
	@CApiModelProperty(value = "是否默认 0：不默认1：默认",required = true,cNotEmpty = true)
	private Integer isDefault;

}
